/**
 *  @Author MJreams
 *  @Time 2023/12/13 18:40:00
 *
**/
package cmd

import (
	"github.com/spf13/cobra"
	serviceTwo2 "github.com/wwxcli/cmd/serviceTwo/options"
	"github.com/wwxcli/controller/serviceTwo"
)

func NewServiceTwoCmd() *cobra.Command {
	cmds := &cobra.Command{
		Use:   "two",
		Short: "this is service two",
		Run: func(cmd *cobra.Command, args []string) {
			serviceTwo.Run()
		},
	}
	serviceTwo2.Pause(cmds)
	return cmds
}
